package vip.rssc.sharding.configs;

import com.baomidou.dynamic.datasource.DynamicDataSourceCreator;
import com.baomidou.dynamic.datasource.provider.DynamicDataSourceProvider;
import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties;

/**
 * <p>Description: [AbstractDataSourceProvider]</p >
 * Created on 2020年10月25日
 *
 * @author <a href="1014376159@qq.com">CJ</a>
 * @version 1.0
 * Copyright (c) 2020 cj
 */


public abstract class AbstractDataSourceProvider implements DynamicDataSourceProvider {
    private DynamicDataSourceProperties properties;
    private DynamicDataSourceCreator dynamicDataSourceCreator;

    public AbstractDataSourceProvider(DynamicDataSourceProperties properties, DynamicDataSourceCreator dynamicDataSourceCreator) {
        this.properties = properties;
        this.dynamicDataSourceCreator = dynamicDataSourceCreator;
    }
}
